#ifndef __bsp_key_h_
#define __bsp_key_h_

#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>

typedef struct
{
	unsigned char KeyValue;
	unsigned char KeyLongValue;
	unsigned int x;
	unsigned int y;
	unsigned int z;
	unsigned char Keylock1;
	unsigned short int KeyCnt1;
	unsigned char ShortKeyFlag1;
}tKEY_S;
extern tKEY_S KEY_s;

void bsp_InitKey(void);
void KEYs_Init(void);
void KEY_Clr(void);
void KEY_Scan(void);
void KEY_Event_Handle(void);

#endif



